<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content">
  <div class="top">
    <div class="left"></div>
    <div class="right"></div>
    <div class="center">
      <h1><?php echo $heading_title; ?></h1>
    </div>
  </div>
  <?php if (isset($news_info)) { ?>
    <div class="middle">
      <div style="background: #FFFFFF; padding: 10px 8px 10px 8px; border: 1px solid #DDDDDD; margin-bottom: 20px;<?php if ($image) { echo 'min-height: ' . $min_height . 'px;'; } ?>">
        <?php if ($image) { ?>
          <a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="thickbox"><img align="right" style="border: none; margin-left: 10px;" src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" /></a>
        <?php } ?>
        <?php echo $description; ?>
      </div>
      <div class="buttons">
        <table>
          <tr>
            <td align="right"><a onclick="location='<?php echo $news; ?>'" class="button"><span><?php echo $button_news; ?></span></a></td>
          </tr>
        </table>
      </div>
    </div>
  <?php } elseif (isset($news_data)) { ?>
    <div class="middle">
      <?php foreach ($news_data as $news) { ?>
        <div style="background: #FFFFFF; padding: 10px 8px 10px 8px; border: 1px solid #DDDDDD; margin-bottom: 20px;">
          <h3 style="margin-top: 5px;"><?php echo $news['title']; ?></h3>
          <?php echo $news['short_description']; ?> &hellip; <a href="<?php echo $news['href']; ?>"><?php echo $text_read_more; ?></a></p>
          <p><?php echo $text_date_added; ?><?php echo $news['date_added']; ?></p>
        </div>
      <?php } ?>
    </div>
  <?php } ?>
  <div class="bottom">
    <div class="left"></div>
    <div class="right"></div>
    <div class="center"></div>
  </div>
</div>
<script type="text/javascript"><!--
$.tabs('.tabs a'); 
$.tabs('.usertabs a'); 
//--></script>
<?php echo $footer; ?>
